import java.util.Arrays;
import java.util.Random;

public class Work2 {
    public static void main(String[] args) {
        int[] randoms = new int[10];
        Random rmd = new Random();
        for (int i=0;i<randoms.length;i++){
            randoms[i] = rmd.nextInt(10);
            System.out.println("正序输出");
            for ( i =0;i<randoms.length;i++){
                System.out.println(randoms[i]);
            }

        }

    }
}
